Dynamically transforming a typing indicator to reflect a user&#39;s tone

ABSTRACT

A method, computer system, and computer program product for determining and displaying tones with messaging information are provided. The embodiment may include receiving a plurality of user-entered messaging information from a messaging application. The embodiment may also include determining a tone associated with the plurality of received user-entered messaging information. The embodiment may further include determining whether a word, a phrase, or an image in the plurality of user-entered messaging information is used above a pre-configured threshold number of times by the user. The embodiment may also include determining a color and an animation for the determined tone based on a preconfigured mapping of a plurality of colors and a plurality of animations with a plurality of tones.

BACKGROUND

The present invention relates, generally, to the field of computing, andmore particularly to user-entered messaging systems.

User-entered messaging systems relate to a set of communicationtechnologies used for text-based communication between two or more usersover the internet or other types of networks. Messages are typicallytyped by a user and, when the user chooses to send, the messages aretransmitted to another user. User-entered messaging systems may alsoinclude push technology to transmit messages character-by-character asthey are composed in real-time communication systems. Real-timecommunications systems may relate to the simultaneous exchange ofinformation over any type of telecommunications services from one userto another with negligible latency. Many user-entered messaging systemsmay also include a feature such as typing notifications or a typingawareness indicator which notifies one user of the state of the otheruser in a one-to-one chat. For example, if a user is typing or starts totype, such notifications may be displayed on the screen of the device ofthe other user.

SUMMARY

According to one embodiment, a method, computer system, and computerprogram product for determining and displaying tones with messaginginformation are provided. The embodiment may include receiving aplurality of user-entered messaging information from a messagingapplication. The embodiment may also include determining a toneassociated with the plurality of received user-entered messaginginformation. The embodiment may further include determining whether aword, a phrase, or an image in the plurality of user-entered messaginginformation is used above a pre-configured threshold number of times bythe user. The embodiment may also include determining a color and ananimation for the determined tone based on a preconfigured mapping of aplurality of colors and a plurality of animations with a plurality oftones.

BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS

These and other objects, features, and advantages of the presentinvention will become apparent from the following detailed descriptionof illustrative embodiments thereof, which is to be read in connectionwith the accompanying drawings. The various features of the drawings arenot to scale as the illustrations are for clarity in facilitating oneskilled in the art in understanding the invention in conjunction withthe detailed description. In the drawings:

FIG. 1 illustrates an exemplary networked computer environment accordingto at least one embodiment;

FIG. 2 is an operational flowchart illustrating a tone indicationprocess according to at least one embodiment;

FIG. 3A-3D illustrate examples of displaying colors and animationsassociated with the tones of the text typed by users according to atleast one embodiment;

FIG. 4 is a block diagram of internal and external components ofcomputers and servers depicted in FIG. 1 according to at least oneembodiment;

FIG. 5 depicts a cloud computing environment according to an embodimentof the present invention; and

FIG. 6 depicts abstraction model layers according to an embodiment ofthe present invention.

DETAILED DESCRIPTION

Detailed embodiments of the claimed structures and methods are disclosedherein; however, it can be understood that the disclosed embodiments aremerely illustrative of the claimed structures and methods that may beembodied in various forms. This invention may, however, be embodied inmany different forms and should not be construed as limited to theexemplary embodiments set forth herein. In the description, details ofwell-known features and techniques may be omitted to avoid unnecessarilyobscuring the presented embodiments.

Embodiments of the present invention relate to the field of computing,and more particularly to chat or instant messaging systems. Thefollowing described exemplary embodiments provide a system, method, andprogram product to, among other things, determine and display the toneand the animation associated with a user's emotion, social tendencies,and language style when he or she types text in real-time communicationsystems. Therefore, the present embodiment has the capacity to improvethe technical field of user-entered messaging systems not only byefficiently allowing users to become aware of another user's emotion,social tendencies and language style and prepare more mindful responsesbut also by allowing users to become aware of their own tones as theyare typing. Moreover, the present embodiment may learn and adapt to eachuser by identifying and storing the information with respect to thecertain words or sentences that the user frequently types above athreshold number of times and adjust the weight of the tones in thesubsequent conversation.

As previously described, user-typed messaging systems may relate to pushtechnology that transmits messages character-by-character as they arecomposed in real-time communication systems. Real-time communicationssystems may relate to the simultaneous exchange of information over anytype of telecommunications services from one user to another withnegligible latency. Many user-typed messaging systems may also include afeature such as typing notifications or a typing awareness indicatorwhich notifies one user of the state of the other user in a one-to-onechat. For example, if a user is typing or starts to type, suchnotifications may be displayed on the screen of the device of therecipient user.

Today, chat or instant text messaging is one of the most popular formsof real-time communication. Currently, many instant text messagingsystems feature typing indicators which notify a recipient user when auser is typing or starts to type. However, the typing indicators do notprovide insight into the emotion, social tendencies or language style ofwhat is being typed. Rather, these programs only identify that a user iscurrently typing. Human conversation, whether oral or written, can besubtle if one cannot recognize the tone or emotion of the speaker or theauthor. As such, it may be advantageous to, among other things,implement a system capable of providing a method for which the sent texthas real-time tonal awareness and allowing the recipient user to haveinsight into the tone of what the sender is typing in real-time andprepare more mindful and considerate responses.

According to one embodiment, a user-entered messaging information may beanalyzed by a tone indicator program to determine emotional, social andlanguage tone reflected in the messaging information. The database mayuse information from each receipt to select and assign colors and/oranimations from preconfigured tones or emotions. Additionally, the textinformation may be stored in the database and the system may learn andadapt to each user's communication styles or behaviors. For example, ifa user frequently types exclamation points and uses smiley faces, thesystem will understand this to be a common behavior of the user and thesystem will adjust the tone output based on this understanding.

The present invention may be a system, a method, and/or a computerprogram product at any possible technical detail level of integration.The computer program product may include a computer readable storagemedium (or media) having computer readable program instructions thereonfor causing a processor to carry out aspects of the present invention.

The computer readable storage medium can be a tangible device that canretain and store instructions for use by an instruction executiondevice. The computer readable storage medium may be, for example, but isnot limited to, an electronic storage device, a magnetic storage device,an optical storage device, an electromagnetic storage device, asemiconductor storage device, or any suitable combination of theforegoing. A non-exhaustive list of more specific examples of thecomputer readable storage medium includes the following: a portablecomputer diskette, a hard disk, a random access memory (RAM), aread-only memory (ROM), an erasable programmable read-only memory (EPROMor Flash memory), a static random access memory (SRAM), a portablecompact disc read-only memory (CD-ROM), a digital versatile disk (DVD),a memory stick, a floppy disk, a mechanically encoded device such aspunch-cards or raised structures in a groove having instructionsrecorded thereon, and any suitable combination of the foregoing. Acomputer readable storage medium, as used herein, is not to be construedas being transitory signals per se, such as radio waves or other freelypropagating electromagnetic waves, electromagnetic waves propagatingthrough a waveguide or other transmission media (e.g., light pulsespassing through a fiber-optic cable), or electrical signals transmittedthrough a wire.

Computer readable program instructions described herein can bedownloaded to respective computing/processing devices from a computerreadable storage medium or to an external computer or external storagedevice via a network, for example, the Internet, a local area network, awide area network and/or a wireless network. The network may comprisecopper transmission cables, optical transmission fibers, wirelesstransmission, routers, firewalls, switches, gateway computers and/oredge servers. A network adapter card or network interface in eachcomputing/processing device receives computer readable programinstructions from the network and forwards the computer readable programinstructions for storage in a computer readable storage medium withinthe respective computing/processing device.

Computer readable program instructions for carrying out operations ofthe present invention may be assembler instructions,instruction-set-architecture (ISA) instructions, machine instructions,machine dependent instructions, microcode, firmware instructions,state-setting data, configuration data for integrated circuitry, oreither source code or object code written in any combination of one ormore programming languages, including an object oriented programminglanguage such as Smalltalk, C++, or the like, and procedural programminglanguages, such as the “C” programming language or similar programminglanguages. The computer readable program instructions may executeentirely on the user's computer, partly on the user's computer, as astand-alone software package, partly on the user's computer and partlyon a remote computer or entirely on the remote computer or server. Inthe latter scenario, the remote computer may be connected to the user'scomputer through any type of network, including a local area network(LAN) or a wide area network (WAN), or the connection may be made to anexternal computer (for example, through the Internet using an InternetService Provider). In some embodiments, electronic circuitry including,for example, programmable logic circuitry, field-programmable gatearrays (FPGA), or programmable logic arrays (PLA) may execute thecomputer readable program instructions by utilizing state information ofthe computer readable program instructions to personalize the electroniccircuitry, in order to perform aspects of the present invention.

Aspects of the present invention are described herein with reference toflowchart illustrations and/or block diagrams of methods, apparatus(systems), and computer program products according to embodiments of theinvention. It will be understood that each block of the flowchartillustrations and/or block diagrams, and combinations of blocks in theflowchart illustrations and/or block diagrams, can be implemented bycomputer readable program instructions.

These computer readable program instructions may be provided to aprocessor of a general purpose computer, special purpose computer, orother programmable data processing apparatus to produce a machine, suchthat the instructions, which execute via the processor of the computeror other programmable data processing apparatus, create means forimplementing the functions/acts specified in the flowchart and/or blockdiagram block or blocks. These computer readable program instructionsmay also be stored in a computer-readable storage medium that can directa computer, a programmable data processing apparatus, and/or otherdevices to function in a particular manner, such that the computerreadable storage medium having instructions stored therein comprises anarticle of manufacture including instructions which implement aspects ofthe function/act specified in the flowchart and/or block diagram blockor blocks.

The computer readable program instructions may also be loaded onto acomputer, other programmable data processing apparatus, or other deviceto cause a series of operational steps to be performed on the computer,other programmable apparatus or another device to produce a computerimplemented process, such that the instructions which execute on thecomputer, other programmable apparatus, or other device implement thefunctions/acts specified in the flowchart and/or block diagram block orblocks.

The flowchart and block diagrams in the Figures illustrate thearchitecture, functionality, and operation of possible implementationsof systems, methods, and computer program products according to variousembodiments of the present invention. In this regard, each block in theflowchart or block diagrams may represent a module, segment, or portionof instructions, which comprises one or more executable instructions forimplementing the specified logical function(s). In some alternativeimplementations, the functions noted in the blocks may occur out of theorder noted in the Figures. For example, two blocks shown in successionmay, in fact, be executed substantially concurrently, or the blocks maysometimes be executed in the reverse order, depending upon thefunctionality involved. It will also be noted that each block of theblock diagrams and/or flowchart illustration, and combinations of blocksin the block diagrams and/or flowchart illustration, can be implementedby special purpose hardware-based systems that perform the specifiedfunctions or acts or carry out combinations of special purpose hardwareand computer instructions.

The following described exemplary embodiments provide a system, method,and program product to identify and display emotional, social and/orlanguage tones reflected in the text messaging between users.

Referring to FIG. 1, an exemplary networked computer environment 100 isdepicted, according to at least one embodiment. The networked computerenvironment 100 may include client computing device 102 and a server 112interconnected via a communication network 114. According to at leastone implementation, the networked computer environment 100 may include aplurality of client computing devices 102 and servers 112 of which onlyone of each is shown for illustrative brevity.

The communication network 114 may include various types of communicationnetworks, such as a wide area network (WAN), local area network (LAN), atelecommunication network, a wireless network, a public switched networkand/or a satellite network. The communication network 114 may includeconnections, such as wire, wireless communication links, or fiber opticcables. It may be appreciated that FIG. 1 provides only an illustrationof one implementation and does not imply any limitations with regard tothe environments in which different embodiments may be implemented. Manymodifications to the depicted environments may be made based on designand implementation requirements.

Client computing device 102 may include a processor 104 and a datastorage device 106 that is enabled to host and run a software program108 and a tone indicator program 110A and communicate with the server112 via the communication network 114, in accordance with one embodimentof the invention. The software program 108 may be web-based applicationssuch as WeChat® (WeChat and all WeChat-related trademarks and logos aretrademarks or registered trademarks of Tencent Holdings Limited. and/orits affiliates), WhatsApp® (WhatsApp and all WhatsApp-related trademarksand logos are trademarks or registered trademarks of WhatsApp, Inc.and/or its affiliates), and Snapchat® (Snapchat and all Snapchat-relatedtrademarks and logos are trademarks or registered trademarks of Snap,Inc. and/or its affiliates). The tone analyzer 118 may be a program suchas the IBM Watson® Tone Analyzer (IBM Watson and all IBM Watson-relatedtrademarks and logos are trademarks or registered trademarks ofInternational Business Machines Corporation and/or its affiliates).Client computing device 102 may be, for example, a mobile device, atelephone, a personal digital assistant, a netbook, a laptop computer, atablet computer, a desktop computer, or any type of computing devicecapable of running a program and accessing a network. As will bediscussed with reference to FIG. 4, the client computing device 102 mayinclude internal components 402 a and external components 404 a,respectively.

The server computer 112 may be a laptop computer, netbook computer,personal computer (PC), a desktop computer, or any programmableelectronic device or any network of programmable electronic devicescapable of hosting and running a tone indicator program, 110B, a toneanalyzer 118 and a database 116 and communicating with the clientcomputing device 102 via the communication network 114, in accordancewith embodiments of the invention. The tone analyzer 118 may be aprogram capable of determining appropriate emotional, social and/orlanguage tones reflected in the text messages and interacting with thetone indicator program 110B. As will be discussed with reference to FIG.4, the server computer 112 may include internal components 402 b andexternal components 404 b, respectively. The server 112 may also operatein a cloud computing service model, such as Software as a Service(SaaS), Platform as a Service (PaaS), or Infrastructure as a Service(IaaS). The server 112 may also be located in a cloud computingdeployment model, such as a private cloud, community cloud, publiccloud, or hybrid cloud.

According to the present embodiment, the tone indicator program 110A,110B may be a program capable of determining and displaying tonesreflected in user-entered messaging information. The tone indicatorprogram 110A, 110B may then generate a database that maintainsinformation relevant to the communication styles or behaviors of theuser so that the tone indicator program 110A, 110B may adjust the weightof tones in subsequent communications. The tone indication process isexplained in further detail below with respect to FIG. 2.

FIG. 2 is an operational flowchart illustrating a tone indicationprocess 200 according to at least one embodiment. At 202, the toneindicator program 110A, 110B receives user-entered messaging informationas a user starts to type in the chat or instant messaging systems.Today, instant messaging is very popular because it is more interactivethan email for both personal and business communication purposes.Instant messages are exchanged immediately whereas email may be queuedup in a mail server. Many people use smartphones and more people aresending text messages through web-based applications such as WeChat®,WhatsApp®, and Snapchat®. For example, if user A wants to share somepersonal story with user B and wants to initiate a real-timeconversation, user A may start to type “Hello, I have some good news!”utilizing one of the above web-based applications. The tone indicatorprogram 110A, 110B then receives the user-entered messaging informationand prepares to transmit the information for analysis. In at least oneembodiment, the tone indicator program 110A, 110B may receiveuser-entered messaging information from any other messaging programcapable of transmitting messages between users, such as email messages,tweets, social media posts, forum posts, and user comments to articlesor blog posts. Furthermore, user-entered messaging information mayinclude text, images, GIFs, emojis, and emoticons.

At 204, the tone indicator program 110A, 110B determines a tone of theuser-entered messaging information by utilizing the tone analyzer 118.The tone analyzer 118 may include a program such as the IBM Watson® ToneAnalyzer. Furthermore, the tone analyzer 118 may be capable ofdetermining a tone from text, images, videos, emojis, or emoticons. Thetone may be an emotional tone, a language tone, and a social tone. Withrespect to the emotional tones, the tone analyzer 118 may be capable ofdetermining various emotions, such as positive emotions and negativeemotions. Positive emotions may refer to emotions such as joy, optimism,contentment, inspiration, and happiness. Negative emotions may includeanger, aggression, hostility, feelings of fear, disgust, despair, guilt,rejection, and humiliation. With respect to the social tones, the toneanalyzer 118 may be capable of determining openness, agreeableness, andconscientiousness. With respect to the language tones, the tone analyzer118 may be capable of determining analytical, confident and tentativetones. The analytical tone may show a person's reasoning and analyticalattitude about things. The confidence tone may indicate the degree ofcertainty exhibited by an individual towards something. The tentativetone may show the attitude of inhibition. For example, after user Atyped, “Hello, I have some good news!”, the tone analyzer 118 receivessuch text message information from the tone indicator program 110A, 110Band determines a positive tone or a cheerful emotion.

At 206, the tone indicator program 110A, 110B determines a color and ananimation associated with the user-entered messaging information inaccordance with the determined tones. The colors may include green,yellow, red, orange purple, pink, grey or blue. The animations mayinclude a sphere or an oval that bounces up and down in a slow, mediumfast, fast, very fast, sudden or irregular manner. These colors andanimations may be mapped in the database 116 to certain emotions fromthe above description when an emotion is determined by the tone analyzer118. For example, if user A types “Hello. I have some good news!”, thetone indicator program 110A, 110B may determine that the user tone ishappy or excited, and the tone indicator program 110A, 110B maydetermine that an animation which bounces in a light manner depicted ina green or yellow color is appropriate for display. For an angry orupset tone, the tone indicator program 110A, 110B may determine to use ared or orange color with an animation that moves in a sudden orimpatient manner. For a confused tone, the tone indicator program 110A,110B may determine to use a purple or pink color with an animation thatmoves in a more erratic and disorganized manner. For a sad tone, thetone indicator program 110A, 110B may determine a blue color with ananimation that moves in a slow or gloomy manner should be displayed. Thetone indicator program 110A, 110B may determine the tones by taking onqualities anywhere within the gradient of the emotions. In other words,the tone indicator program 110A, 110B may reanalyze the tone after theusers type additional words or sentences to check if the particulartones or emotions have changed. For example, if user A types first “I amso tired” and then types “But I think I am happy because today isFriday!”, then the tone indicator program 110A, 110B may detect the tonegaining happiness or cheerfulness, and the color may shift to green andyellow to display a happier or more cheerful emotion. In at least oneembodiment, the tone indicator program 110A, 110B may determine acombination of emotions by selecting a preconfigured color and ananimation independently. For example, if the tone indicator program110A, 110B detects a combined measurement of angry and confused emotion,the tone indicator program 110A, 110B may display the color assigned toangry with an animation assigned to confused emotion. Additionally, thetone indicator program 110A, 110B may learn and adapt to communicationstyles or behaviors of each user based on the messaging informationentered by each user. Data gathered from each user may be tied to thecorresponding user ID stored in the database 116.

In at least one embodiment, the tone indicator program 110A, 110B maydetermine tones of multiple messages for multiple users. Many web-basedinstant messaging applications may include a group chat feature wherethree or more individuals exchange the text information simultaneously.The tone indicator program 110A, 110B may determine the tones of themultiple users simultaneously as the messaging information is entered byeach user, and display the appropriate colors and animations related toeach user. The tone indicator program 110A, 110B may display the colorand the animation associated with each user's message information withinthe individual dialogue box assigned to each user.

Next, at 208, the tone indicator program 110A, 110B displays thedetermined color and animation on the display screen of the clientcomputing device 102 for both the sender and the recipient. For example,as user A types “Hello. I have some good news!”, a green color spherebouncing in a light manner may be displayed on the display screens ofboth user A and user B. As user B replies by typing “I have some badnews . . . ”, a blue sphere bouncing in a gloomy manner may be displayedon the display screen of the client computing device 102 for user A anduser B.

Referring now to FIG. 3A, a diagram illustrating an example of a displayprocess 300 is depicted according to at least one embodiment. Whileparticipating in an exchange, the device of user A 302 may receive thetext information from the tone indicator program 110A, 110B as user Astarts to type the text 304 which reads “I just had the”. Next, the toneindicator program 110A, 110B, utilizing the tone analyzer 118, maydetermine that the tone is neutral, and the tone indicator program 110A,110B may display a neutral or grey color and the sphere-shaped animation306 in a static state on the display screen of the device 302. Also, thetone indicator program 110A, 110B may display the same color and theanimation 310 on the display screen of the device of user B 308.

Referring now to FIG. 3B, a diagram illustrating another example of adisplay process 300 is depicted according to at least one embodiment. Asuser A finishes typing “I just had the best idea”, the tone indicatorprogram 110A, 110B may display the text 312 on the display screen of thedevice 302. The tone indicator program 110A, 110B, utilizing the toneanalyzer 118 may determine the cheerful and upbeat tone is appropriate,and the tone indicator program 110A, 110B may display a yellow or greencolor with an oval and/or sphere-shaped animation 314 bouncing in alight manner. Next, the tone indicator program 110A, 110B may displaythe text 316 and the animation 318 in the same color on the displayscreen of the device of user B 308.

Referring now to FIG. 3C, a diagram illustrating a different example ofa display process 300 is depicted according to at least one embodiment.After user A finishes typing “I just had the best idea! !”, the textinformation 312 is displayed on the display screen of the device of userA 302, and the determined color and the animation 314 remains the sameon the display screen. The text 316 is also displayed on the uppersection of the display screen of the device of user B 308. Next, user Btypes the text 320 “That is great)”, and the tone indicator program110A, 110B, utilizing the tone analyzer 118 may determine a happy toneand the tone indicator program 110A, 110B may display a yellow or greencolor and an animation 322 which bounces in a more upbeat manner on thedisplay screen of the device 308.

Referring now to FIG. 3D, a diagram illustrating a different example ofa display process 300 is depicted according to at least one embodiment.The tone indicator program 110A, 110B may display the text information324 and the color and the animation 326, which the tone indicatorprogram 110A, 110B previously determined by utilizing the tone analyzer118, on the display screens of the device of user A 302 and the deviceof user B 308. Next, user B may type the text 330 “I have bad newsthough . . . ”, and the tone indicator program 110A, 110B may receivethe text information and determine a sad tone. The tone indicatorprogram 110A, 110B may then display a blue color and an animation 332that moves in a more slow and gloomy manner on the display screen of thedevice of user B 308.

It may be appreciated that FIGS. 2-3 provide only an illustration of oneimplementation and do not imply any limitations with regard to howdifferent embodiments may be implemented. Many modifications to thedepicted environments may be made based on design and implementationrequirements. Although many examples are stated towards chat or instantmessaging systems, the tone indicator program 110A, 110B may also beimplemented for any type of messaging systems, such as social networkingsystems, collaborative note-taking tools or email.

FIG. 4 is a block diagram 400 of internal and external components of theclient computing device 102 and the server 112 depicted in FIG. 1 inaccordance with an embodiment of the present invention. It should beappreciated that FIG. 4 provides only an illustration of oneimplementation and does not imply any limitations with regard to theenvironments in which different embodiments may be implemented. Manymodifications to the depicted environments may be made based on designand implementation requirements.

The data processing system 402, 404 is representative of any electronicdevice capable of executing machine-readable program instructions. Thedata processing system 402, 404 may be representative of a smart phone,a computer system, PDA, or other electronic devices. Examples ofcomputing systems, environments, and/or configurations that mayrepresented by the data processing system 402, 404 include, but are notlimited to, personal computer systems, server computer systems, thinclients, thick clients, hand-held or laptop devices, multiprocessorsystems, microprocessor-based systems, network PCs, minicomputersystems, and distributed cloud computing environments that include anyof the above systems or devices.

The client computing device 102 and the server 112 may includerespective sets of internal components 402 a,b and external components404 a,b illustrated in FIG. 4. Each of the sets of internal components402 include one or more processors 420, one or more computer-readableRAMs 422, and one or more computer-readable ROMs 424 on one or morebuses 426, and one or more operating systems 428 and one or morecomputer-readable tangible storage devices 430. The one or moreoperating systems 428, the software program 108 and the tone indicatorprogram 110A in the client computing device 102 and the tone indicatorprogram 110B and the tone analyzer 118 in the server 112 are stored onone or more of the respective computer-readable tangible storage devices430 for execution by one or more of the respective processors 420 viaone or more of the respective RAMs 422 (which typically include cachememory). In the embodiment illustrated in FIG. 8, each of thecomputer-readable tangible storage devices 430 is a magnetic diskstorage device of an internal hard drive. Alternatively, each of thecomputer-readable tangible storage devices 430 is a semiconductorstorage device such as ROM 424, EPROM, flash memory or any othercomputer-readable tangible storage device that can store a computerprogram and digital information.

Each set of internal components 402 a,b also includes an R/W drive orinterface 432 to read from and write to one or more portablecomputer-readable tangible storage devices 438 such as a CD-ROM, DVD,memory stick, magnetic tape, magnetic disk, optical disk orsemiconductor storage device. A software program, such as the toneindicator program 110A, 110B, can be stored on one or more of therespective portable computer-readable tangible storage devices 438, readvia the respective R/W drive or interface 432 and loaded into therespective hard drive 430.

Each set of internal components 402 a,b also includes network adaptersor interfaces 436 such as a TCP/IP adapter cards, wireless Wi-Fiinterface cards, or 3G or 4G wireless interface cards or other wired orwireless communication links. The software program 108 and the toneindicator program 110A in the client computing device 102 and the toneindicator program 110B and the tone analyzer 118 in the server 112 canbe downloaded to the client computing device 102 and the server 112 froman external computer via a network (for example, the Internet, a localarea network or other, wide area network) and respective networkadapters or interfaces 436. From the network adapters or interfaces 436,the software program 108 and the tone indicator program 110A in theclient computing device 102 and the tone indicator program 110B and thetone analyzer 118 in the server 112 are loaded into the respective harddrive 430. The network may comprise copper wires, optical fibers,wireless transmission, routers, firewalls, switches, gateway computersand/or edge servers.

Each of the sets of external components 404 a,b can include a computerdisplay monitor 444, a keyboard 442, and a computer mouse 434. Externalcomponents 404 a,b can also include touch screens, virtual keyboards,touch pads, pointing devices, and other human interface devices. Each ofthe sets of internal components 402 a,b also includes device drivers 440to interface to computer display monitor 444, keyboard 442, and computermouse 434. The device drivers 440, R/W drive or interface 432, andnetwork adapter or interface 436 comprise hardware and software (storedin storage device 430 and/or ROM 424).

It is understood in advance that although this disclosure includes adetailed description on cloud computing, implementation of the teachingsrecited herein is not limited to a cloud computing environment. Rather,embodiments of the present invention are capable of being implemented inconjunction with any other type of computing environment now known orlater developed.

Cloud computing is a model of service delivery for enabling convenient,on-demand network access to a shared pool of configurable computingresources (e.g. networks, network bandwidth, servers, processing,memory, storage, applications, virtual machines, and services) that canbe rapidly provisioned and released with minimal management effort orinteraction with a provider of the service. This cloud model may includeat least five characteristics, at least three service models, and atleast four deployment models.

Characteristics are as follows:

On-demand self-service: a cloud consumer can unilaterally provisioncomputing capabilities, such as server time and network storage, asneeded automatically without requiring human interaction with theservice's provider.

Broad network access: capabilities are available over a network andaccessed through standard mechanisms that promote use by heterogeneousthin or thick client platforms (e.g., mobile phones, laptops, and PDAs).

Resource pooling: the provider's computing resources are pooled to servemultiple consumers using a multi-tenant model, with different physicaland virtual resources dynamically assigned and reassigned according todemand. There is a sense of location independence in that the consumergenerally has no control or knowledge over the exact location of theprovided resources but may be able to specify location at a higher levelof abstraction (e.g., country, state, or datacenter).

Rapid elasticity: capabilities can be rapidly and elasticallyprovisioned, in some cases automatically, to quickly scale out andrapidly released to quickly scale in. To the consumer, the capabilitiesavailable for provisioning often appear to be unlimited and can bepurchased in any quantity at any time.

Measured service: cloud systems automatically control and optimizeresource use by leveraging a metering capability at some level ofabstraction appropriate to the type of service (e.g., storage,processing, bandwidth, and active user accounts). Resource usage can bemonitored, controlled, and reported providing transparency for both theprovider and consumer of the utilized service.

Service Models are as follows:

Software as a Service (SaaS): the capability provided to the consumer isto use the provider's applications running on a cloud infrastructure.The applications are accessible from various client devices through athin client interface such as a web browser (e.g., web-based e-mail).The consumer does not manage or control the underlying cloudinfrastructure including network, servers, operating systems, storage,or even individual application capabilities, with the possible exceptionof limited user-specific application configuration settings.

Platform as a Service (PaaS): the capability provided to the consumer isto deploy onto the cloud infrastructure consumer-created or acquiredapplications created using programming languages and tools supported bythe provider. The consumer does not manage or control the underlyingcloud infrastructure including networks, servers, operating systems, orstorage, but has control over the deployed applications and possiblyapplication hosting environment configurations.

Infrastructure as a Service (IaaS): the capability provided to theconsumer is to provision processing, storage, networks, and otherfundamental computing resources where the consumer is able to deploy andrun arbitrary software, which can include operating systems andapplications. The consumer does not manage or control the underlyingcloud infrastructure but has control over operating systems, storage,deployed applications, and possibly limited control of select networkingcomponents (e.g., host firewalls).

Deployment Models are as follows:

Private cloud: the cloud infrastructure is operated solely for anorganization. It may be managed by the organization or a third party andmay exist on-premises or off-premises.

Community cloud: the cloud infrastructure is shared by severalorganizations and supports a specific community that has shared concerns(e.g., mission, security requirements, policy, and complianceconsiderations). It may be managed by the organizations or a third partyand may exist on-premises or off-premises.

Public cloud: the cloud infrastructure is made available to the generalpublic or a large industry group and is owned by an organization sellingcloud services.

Hybrid cloud: the cloud infrastructure is a composition of two or moreclouds (private, community, or public) that remain unique entities butare bound together by standardized or proprietary technology thatenables data and application portability (e.g., cloud bursting forload-balancing between clouds).

A cloud computing environment is a service oriented with a focus onstatelessness, low coupling, modularity, and semantic interoperability.At the heart of cloud computing is an infrastructure comprising anetwork of interconnected nodes.

Referring now to FIG. 5, illustrative cloud computing environment 50 isdepicted. As shown, cloud computing environment 50 comprises one or morecloud computing nodes 100 with which local computing devices used bycloud consumers, such as, for example, personal digital assistant (PDA)or cellular telephone 54A, desktop computer 54B, laptop computer 54C,and/or automobile computer system 54N may communicate. Nodes 100 maycommunicate with one another. They may be grouped (not shown) physicallyor virtually, in one or more networks, such as Private, Community,Public, or Hybrid clouds as described hereinabove, or a combinationthereof. This allows cloud computing environment 50 to offerinfrastructure, platforms and/or software as services for which a cloudconsumer does not need to maintain resources on a local computingdevice. It is understood that the types of computing devices 54A-N shownin FIG. 5 are intended to be illustrative only and that computing nodes100 and cloud computing environment 50 can communicate with any type ofcomputerized device over any type of network and/or network addressableconnection (e.g., using a web browser).

Referring now to FIG. 6, a set of functional abstraction layers 600provided by cloud computing environment 50 is shown. It should beunderstood in advance that the components, layers, and functions shownin FIG. 6 are intended to be illustrative only and embodiments of theinvention are not limited thereto. As depicted, the following layers andcorresponding functions are provided:

Hardware and software layer 60 includes hardware and softwarecomponents. Examples of hardware components include: mainframes 61; RISC(Reduced Instruction Set Computer) architecture based servers 62;servers 63; blade servers 64; storage devices 65; and networks andnetworking components 66. In some embodiments, software componentsinclude network application server software 67 and database software 68.

Virtualization layer 70 provides an abstraction layer from which thefollowing examples of virtual entities may be provided: virtual servers71; virtual storage 72; virtual networks 73, including virtual privatenetworks; virtual applications and operating systems 74; and virtualclients 75.

In one example, management layer 80 may provide the functions describedbelow. Resource provisioning 81 provides dynamic procurement ofcomputing resources and other resources that are utilized to performtasks within the cloud computing environment. Metering and Pricing 82provide cost tracking as resources are utilized within the cloudcomputing environment, and billing or invoicing for consumption of theseresources. In one example, these resources may comprise applicationsoftware licenses. Security provides identity verification for cloudconsumers and tasks, as well as protection for data and other resources.User portal 83 provides access to the cloud computing environment forconsumers and system administrators. Service level management 84provides cloud computing resource allocation and management such thatrequired service levels are met. Service Level Agreement (SLA) planningand fulfillment 85 provide pre-arrangement for, and procurement of,cloud computing resources for which a future requirement is anticipatedin accordance with an SLA.

Workloads layer 90 provides examples of functionality for which thecloud computing environment may be utilized. Examples of workloads andfunctions which may be provided from this layer include: mapping andnavigation 91; software development and lifecycle management 92; virtualclassroom education delivery 93; data analytics processing 94;transaction processing 95; and tone indication 96. Tone indication 96may relate generating a database of messaging information previouslyentered by a user, monitoring various databases for appropriate tonesassociated with the user-entered messaging information so that toneindication 96 may adjust the weight of the tones of the messaginginformation which the user enters in the future.

The descriptions of the various embodiments of the present inventionhave been presented for purposes of illustration but are not intended tobe exhaustive or limited to the embodiments disclosed. Manymodifications and variations will be apparent to those of ordinary skillin the art without departing from the scope of the describedembodiments. The terminology used herein was chosen to best explain theprinciples of the embodiments, the practical application or technicalimprovement over technologies found in the marketplace, or to enableothers of ordinary skill in the art to understand the embodimentsdisclosed herein.

What is claimed is:
 1. A processor-implemented method for determiningand displaying tones associated with text information, the methodcomprising: receiving, by a processor, a plurality of user-enteredmessaging information from a messaging application; determining a toneassociated with the plurality of received user-entered messaginginformation; determining whether a word, a phrase, or an image in theplurality of user-entered messaging information is used above apre-configured threshold number of times by the user; determining acolor and an animation for the determined tone based on a preconfiguredmapping of a plurality of colors and a plurality of animations with aplurality of tones; and displaying the animation with the color on adisplay screen of a user device until the user submits the plurality ofuser-entered messaging information for transmission to one or more otherusers.
 2. The method of claim 1, wherein the tone is determined using atone analyzer.
 3. The method of claim 2, wherein the messaging system isa real-time communication system selected from a group consisting of aninstant messaging system, a short messaging system (SMS), an emailmessaging system, a social networking system, a forum, and a usercomment thread.
 4. The method of claim 2, wherein the tone comprises anemotional tone, a social tone, and a language tone.
 5. The method ofclaim 1, further comprising: in response to a word, a phrase, or animage in the plurality of user-entered messaging information being usedabove a threshold number of times by the user: storing the plurality ofuser-entered messaging information and the determined tone in arepository; and setting and storing a weight to apply to the tone in afuture communication.
 6. The method of claim 3, wherein the plurality ofuser-entered messaging information is received from multiple users,further comprising: determining a separate tone for the plurality ofuser-entered messaging information associated with each of the multipleusers as the plurality of user-entered messaging information issimultaneously entered by each user; determining a color and ananimation for each of the multiple users based on the preconfiguredmapping; and displaying each color and each animation in appropriatelocations of the display screen where each user may be identified aseach plurality of user-entered messaging information is typed.
 7. Themethod of claim 3, further comprising: in response to receiving aplurality of subsequent user-entered messaging information: adjustingthe tone based on the plurality of subsequent user-entered messaginginformation; determining an updated color and an updated animation basedon the adjusted tone; and displaying the adjusted animation with theadjusted color.
 8. A computer system for determining and displayingtones associated with text information, the computer system comprising:one or more processors, one or more computer-readable memories, one ormore computer-readable tangible storage media, and program instructionsstored on at least one of the one or more tangible storage media forexecution by at least one of the one or more processors via at least oneof the one or more memories, wherein the computer system is capable ofperforming a method comprising: receiving, by a processor, a pluralityof user-entered messaging information from a messaging application;determining a tone associated with the plurality of receiveduser-entered messaging information; determining whether a word, aphrase, or an image in the plurality of user-entered messaginginformation is used above a pre-configured threshold number of times bythe user; determining a color and an animation for the determined tonebased on a preconfigured mapping of a plurality of colors and aplurality of animations with a plurality of tones; and displaying theanimation with the color on a display screen of a user device until theuser submits the plurality of user-entered messaging information fortransmission to one or more other users.
 9. The computer system of claim8, wherein the tone is determined using a tone analyzer.
 10. Thecomputer system of claim 9, wherein the messaging system is a real-timecommunication system selected from a group consisting of an instantmessaging system, a short messaging system (SMS), an email messagingsystem, a social networking system, a forum, and a user comment thread.11. The computer system of claim 9, wherein the tone comprises anemotional tone, a social tone, and a language tone.
 12. The computersystem of claim 8, further comprising: in response to a word, a phrase,or an image in the plurality of user-entered messaging information beingused above a threshold number of times by the user: storing theplurality of user-entered messaging information and the determined tonein a repository; and setting and storing a weight to apply to the tonein a future communication.
 13. The computer system of claim 11, whereinthe plurality of user-entered messaging information is received frommultiple users, further comprising: determining a separate tone for theplurality of user-entered messaging information associated with each ofthe multiple users as the plurality of user-entered messaginginformation is simultaneously entered by each user; determining a colorand an animation for each of the multiple users based on thepreconfigured mapping; and displaying each color and each animation inappropriate locations of the display screen where each user may beidentified as each plurality of user-entered messaging information istyped.
 14. The computer system of claim 11, further comprising: inresponse to receiving a plurality of subsequent user-entered messaginginformation: adjusting the tone based on the plurality of subsequentuser-entered messaging information; determining an updated color and anupdated animation based on the adjusted tone; and displaying theadjusted animation with the adjusted color.
 15. A computer programproduct for determining and displaying tones associated with textinformation, the computer program product comprising: one or morecomputer-readable tangible storage media and program instructions storedon at least one of the one or more tangible storage media, the programinstructions executable by a processor of a computer to perform amethod, the method comprising: receiving, by a processor, a plurality ofuser-entered messaging information from a messaging application;determining a tone associated with the plurality of receiveduser-entered messaging information; determining whether a word, aphrase, or an image in the plurality of user-entered messaginginformation is used above a pre-configured threshold number of times bythe user; determining a color and an animation for the determined tonebased on a preconfigured mapping of a plurality of colors and aplurality of animations with a plurality of tones; and displaying theanimation with the color on a display screen of a user device until theuser submits the plurality of user-entered messaging information fortransmission to one or more other users.
 16. The computer programproduct of claim 15, wherein the tone is determined using a toneanalyzer.
 17. The computer program product of claim 15, wherein themessaging system is a real-time communication system selected from agroup consisting of an instant messaging system, a short messagingsystem (SMS), an email messaging system, a social networking system, aforum, and a user comment thread.
 18. The computer program product ofclaim 16, wherein the tone comprises an emotional tone, a social tone,and a language tone.
 19. The computer program product of claim 16,further comprising: in response to a word, a phrase, or an image in theplurality of user-entered messaging information being used above athreshold number of times by the user: storing the plurality ofuser-entered messaging information and the determined tone in arepository; and setting and storing a weight to apply to the tone in afuture communication.
 20. The computer program product of claim 17,wherein the plurality of user-entered messaging information is receivedfrom multiple users, further comprising: determining a separate tone forthe plurality of user-entered messaging information associated with eachof the multiple users as the plurality of user-entered messaginginformation is simultaneously entered by each user; determining a colorand an animation for each of the multiple users based on thepreconfigured mapping; and displaying each color and each animation inappropriate locations of the display screen where each user may beidentified as each plurality of user-entered messaging information istyped.